package chaoyue.study.reflect.bean;

/**
 * 反射测试用的Bean
 */
public class User {
    private Integer i;
    private String s;

    public User() {
        System.out.println("User的无参数构造方法执行...");
    }

    public User(Integer i) {
        this.i = i;
    }

    public User(String s) {
        this.s = s;
    }

    public User(Integer i, String s) {
        this.i = i;
        this.s = s;
    }

    public String doSome(String p1, Integer p2) {
        System.out.println("doSome...");
        return p1;
    }

    private void doOther() {
        System.out.println("doOther...");
    }

    public static void doStatic() {
        System.out.println("doStatic...");
    }
}
